package com.code.service.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class ServiceConfig {

    @Value("${manager.host}")
    private String managerHost;

    @Value("${manager.port}")
    private Integer managerPort;

    @Value("${manager.maxRetry}")
    private Integer managerMaxRetry;

    @Value("${server.ip}")
    private String serverIp;

    @Value("${spring.application.name}")
    private String serviceName;
}
